package com.itboye.sunsun.beans;

import java.io.Serializable;
import java.util.List;

public class GoodsDetailBean implements Serializable {

	private static final long serialVersionUID = 1L;
	String id;
	String name;

	String mainImg;

	List<String> imgs;

	String minOriPrice;
	String minPrice;

	String totalSales;

	int favorite;

	int hasSku; // 是否多规格，0为统一规格，1为多规格

	List<SkuBean> skuId;

	List<SkuBean> skuName;

	List<SkuCombinationBean> skuList;

	SkuInfoBean skuInfo;

	String storeId;
	List<Group> group;

	public List<Group> getGroup() {
		return group;
	}

	public void setGroup(List<Group> group) {
		this.group = group;
	}

	public String getStoreId() {
		return storeId;
	}

	public void setStoreId(String storeId) {
		this.storeId = storeId;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getMainImg() {
		return mainImg;
	}

	public void setMainImg(String mainImg) {
		this.mainImg = mainImg;
	}

	public SkuInfoBean getSkuInfo() {
		return skuInfo;
	}

	public void setSkuInfo(SkuInfoBean skuInfo) {
		this.skuInfo = skuInfo;
	}

	public static class Group implements Serializable {
		private String pId;
		private String gId;
		private String startTime;
		private String endTime;
		private String name;
		private String price;
		public String getpId() {
			return pId;
		}
		public void setpId(String pId) {
			this.pId = pId;
		}
		public String getgId() {
			return gId;
		}
		public void setgId(String gId) {
			this.gId = gId;
		}
		public String getStartTime() {
			return startTime;
		}
		public void setStartTime(String startTime) {
			this.startTime = startTime;
		}
		public String getEndTime() {
			return endTime;
		}
		public void setEndTime(String endTime) {
			this.endTime = endTime;
		}
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public String getPrice() {
			return price;
		}
		public void setPrice(String price) {
			this.price = price;
		}
	}

	/**
	 * 统一规格
	 * 
	 * @author young
	 * 
	 */
	public static class SkuInfoBean implements Serializable {
		/**
		 * 
		 */
		private static final long serialVersionUID = 1L;
		String id;
		String oriPrice;
		String price;
		String quantity;
		String productCode;
		String productId;

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getOriPrice() {
			return oriPrice;
		}

		public void setOriPrice(String oriPrice) {
			this.oriPrice = oriPrice;
		}

		public String getPrice() {
			return price;
		}

		public void setPrice(String price) {
			this.price = price;
		}

		public String getQuantity() {
			return quantity;
		}

		public void setQuantity(String quantity) {
			this.quantity = quantity;
		}

		public String getProductCode() {
			return productCode;
		}

		public void setProductCode(String productCode) {
			this.productCode = productCode;
		}

		public String getProductId() {
			return productId;
		}

		public void setProductId(String productId) {
			this.productId = productId;
		}

	}

	/**
	 * 是否多规格，0为统一规格，1为多规格
	 * 
	 * @return
	 */
	public int getHasSku() {
		return hasSku;
	}

	public void setHasSku(int hasSku) {
		this.hasSku = hasSku;
	}

	public List<SkuBean> getSkuId() {
		return skuId;
	}

	public void setSkuId(List<SkuBean> skuId) {
		this.skuId = skuId;
	}

	public List<SkuBean> getSkuName() {
		return skuName;
	}

	public void setSkuName(List<SkuBean> skuName) {
		this.skuName = skuName;
	}

	public List<SkuCombinationBean> getSkuList() {
		return skuList;
	}

	public void setSkuList(List<SkuCombinationBean> skuList) {
		this.skuList = skuList;
	}

	/**
	 * 所有规格相互组合信息
	 * 
	 * @author young
	 * 
	 */
	public static class SkuCombinationBean implements Serializable {
		/**
		 * 
		 */
		private static final long serialVersionUID = 1L;
		String id;
		String skuId;
		String skuDesc;

		String oriPrice;
		String price;
		String quantity;
		String productCode;
		String createtime;
		String productId;
		String iconUrl;

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getSkuId() {
			return skuId;
		}

		public void setSkuId(String skuId) {
			this.skuId = skuId;
		}

		public String getSkuDesc() {
			return skuDesc;
		}

		public void setSkuDesc(String skuDesc) {
			this.skuDesc = skuDesc;
		}

		public String getOriPrice() {
			return oriPrice;
		}

		public void setOriPrice(String oriPrice) {
			this.oriPrice = oriPrice;
		}

		public String getPrice() {
			return price;
		}

		public void setPrice(String price) {
			this.price = price;
		}

		/**
		 * 库存
		 * 
		 * @return
		 */
		public String getQuantity() {
			return quantity;
		}

		public void setQuantity(String quantity) {
			this.quantity = quantity;
		}

		public String getProductCode() {
			return productCode;
		}

		public void setProductCode(String productCode) {
			this.productCode = productCode;
		}

		public String getCreatetime() {
			return createtime;
		}

		public void setCreatetime(String createtime) {
			this.createtime = createtime;
		}

		public String getProductId() {
			return productId;
		}

		public void setProductId(String productId) {
			this.productId = productId;
		}

		public String getIconUrl() {
			return iconUrl;
		}

		public void setIconUrl(String iconUrl) {
			this.iconUrl = iconUrl;
		}

	}

	public static class SkuBean implements Serializable {
		/**
		 * 
		 */
		private static final long serialVersionUID = 1L;
		String id;
		List<String> vid;

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public List<String> getVid() {
			return vid;
		}

		public void setVid(List<String> vid) {
			this.vid = vid;
		}

	}

	public int getFavorite() {
		return favorite;
	}

	public void setFavorite(int favorite) {
		this.favorite = favorite;
	}

	public String getTotalSales() {
		return totalSales;
	}

	public void setTotalSales(String totalSales) {
		this.totalSales = totalSales;
	}

	public String getMinOriPrice() {
		return minOriPrice;
	}

	public void setMinOriPrice(String minOriPrice) {
		this.minOriPrice = minOriPrice;
	}

	public String getMinPrice() {
		return minPrice;
	}

	public void setMinPrice(String minPrice) {
		this.minPrice = minPrice;
	}

	// public String getImgUrl() {
	// return imgUrl;
	// }
	//
	// public void setImgUrl(String imgUrl) {
	// this.imgUrl = imgUrl;
	// }

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<String> getImgs() {
		return imgs;
	}

	public void setImgs(List<String> imgs) {
		this.imgs = imgs;
	}

}
